#ifndef FEAT_H
#define FEAT_H


#include "dtwenty_global.h"
#include "dtwentyitem.h"
#include "dtwentyitemcontainer.h"


class DTWENTYSHARED_EXPORT Feat : public DTwentyItem
{
    Q_OBJECT

public:

    Q_INVOKABLE Feat(DTwentyItem *parent = 0);
    Feat(const Feat& other);

    virtual int type() const;

};


Q_DECLARE_METATYPE(Feat)


class Feats : public DTwentyItemContainer
{
    Q_OBJECT

public:

    Q_INVOKABLE Feats(QObject* parent = 0) :
        DTwentyItemContainer(parent)
    {
        registerChildType<Feat>();
    }

    Feats(const Feats& other) :
        DTwentyItemContainer(other)
    {
    }

    virtual int type() const
    {
        return qMetaTypeId<Feats*>();
    }

};

Q_DECLARE_METATYPE(Feats)


#endif // FEAT_H
